package com.bosssoft.boss_exam_core.common.config.mail;

import lombok.Data;

/***
 * @Author lys(cherish)
 * @Description 发送方邮件信息配置
 * @Date  2019/2/26
 **/
@Data
public class AdminMail {
    /*
    # MailSenderConfig 邮件发送的配置
    spring.surport.host=smtp.qq.com
    spring.surport.username=用户qq邮箱
    #QQ邮箱的授权码
    spring.surport.Password=授权码
     */
    private String host;
    private String username;
    private String password;
    /*
    spring.surport.properties.surport.smtp.auth=true
    spring.surport.properties.surport.smtp.starttls.enable=true
    spring.surport.properties.surport.smtp.starttls.required=true
    spring.surport.default-encoding=UTF-8
     */
    private String auth;
    private String enable;
    private String required;
    private String defaultEncoding;

    public AdminMail(String host, String username, String password, String auth, String enable, String required, String defaultEncoding) {
        this.host = host;
        this.username = username;
        this.password = password;
        this.auth = auth;
        this.enable = enable;
        this.required = required;
        this.defaultEncoding = defaultEncoding;
    }

    public AdminMail() {
    }

}
